package com.qf.service.UserServiceImpl;

import com.qf.dao.UserDao;
import com.qf.dao.UserDaoImpl.UserDaoImpl1;
import com.qf.pojo.User;
import com.qf.service.UserService;

import java.util.List;

/**
 * @author Wy
 * @version V1.0
 * @Project MavenDemo
 * @Package com.qf.service.UserServiceImpl
 * @Description:
 * @Date 2022/6/2 10:09
 */
public class UserServiceImpl1 implements UserService {
    private   UserDao userDaoImpl1;


    public UserDao getUserDaoImpl1() {
        return userDaoImpl1;
    }

    public void setUserDaoImpl1(UserDao userDaoImpl1) {
        System.out.println("set注入");
        this.userDaoImpl1 = userDaoImpl1;
    }

    public void registerUser() {

        userDaoImpl1.insertUser();
        System.out.println("==UserService接口的第一个实现类");
    }

    public List<User> findUserAll() {
        return null;
    }

    public void insertUser(User user) {

    }

    public void updateUser(User user) {

    }

    public void delectUser(Integer id) {

    }


}
